import Vue from 'vue'

Vue.filter('actorsfilter', (data) => {
  // console.log(data)
  if (!data) {
    return '暂无主演'
  }
  const result = data.map(item => item.name)
  // console.log(result)
  return result.join(' ')
})
